package com.ssy.lingxi.system.dto.response;

import com.ssy.lingxi.system.entity.MiddlegroundMenu;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
* 获取菜单详情
* @author wrc
* @date 2020/7/24
*/
public class MenuDetailsResponse {
    /**
     * 菜单ID
     */
    @ApiModelProperty(value = "主键ID")
    private Long id;

    /**
     * 菜单名称
     */
    @ApiModelProperty(value = "菜单名称")
    private String menuName;

    /**
     * 前端URL
     */
    @ApiModelProperty(value = "菜单连接")
    private String path;

    /**
     * 父菜单ID
     */
    @ApiModelProperty(value = "父菜单ID")
    private Long parentId;

    /**
     * 菜单描述
     */
    @ApiModelProperty(value = "菜单描述")
    private String  menuDescribe;
    /**
     * 排序值
     */
    @ApiModelProperty(value = "排序值")
    private Integer sort;

    /**
     * 菜单类型（1=菜单,2=按钮）
     */
    @ApiModelProperty(value = "菜单类型（1=菜单,2=按钮）")
    private Integer type;

    /**
     * 状态(1=正常，0=删除)
     */
    @ApiModelProperty(value = "状态(1=正常，0=删除)")
    private Integer state;

    @ApiModelProperty("按钮集合")
    List<MiddlegroundMenu> buttons;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getMenuDescribe() {
        return menuDescribe;
    }

    public void setMenuDescribe(String menuDescribe) {
        this.menuDescribe = menuDescribe;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public List<MiddlegroundMenu> getButtons() {
        return buttons;
    }

    public void setButtons(List<MiddlegroundMenu> buttons) {
        this.buttons = buttons;
    }
}
